home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMLINUX / MAIL / 9805 / 000166_owner-linux-arm…r.rutgers.edu _Mon May 25 14:57:49 1998.msg < prev    next >
Internet Message Format  |  1998-06-02  |  8KB

  1. Return-Path: <owner-linux-arm-outgoing@vger.rutgers.edu>
  2. Received: from virtual.bbc.co.uk (virtual.bbc.co.uk [132.185.132.199])
  3.     by odie.barnet.ac.uk (8.8.6/8.8.6) with ESMTP id OAA19964
  4.     for <willy@odie.barnet.ac.uk>; Mon, 25 May 1998 14:57:47 +0100
  5. Received: from nic.funet.fi (nic.funet.fi [128.214.248.6])
  6.     by virtual.bbc.co.uk (8.8.5/8.8.5) with ESMTP id OAA12757
  7.     for <willy@bofh.ai>; Mon, 25 May 1998 14:57:54 +0100 (BST)
  8. Received: from vger.rutgers.edu ([128.6.190.2]:1654 "EHLO vger.rutgers.edu" ident: "root") by nic.funet.fi with ESMTP id <2920-502>; Mon, 25 May 1998 16:57:20 +0300
  9. Received: by vger.rutgers.edu id <971304-31161>; Mon, 25 May 1998 09:18:59 -0400
  10. Received: from relay.urz.uni-heidelberg.de ([129.206.119.201]:42294 "EHLO relay.urz.uni-heidelberg.de" ident: "NO-IDENT-SERVICE[2]") by vger.rutgers.edu with ESMTP id <971306-31161>; Mon, 25 May 1998 09:18:43 -0400
  11. Received: from ix.urz.uni-heidelberg.de (shanske@aixgraf1.urz.uni-heidelberg.de [129.206.218.162])
  12.     by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with SMTP id PAA16801
  13.     for <linux-arm@vger.rutgers.edu>; Mon, 25 May 1998 15:55:37 +0200 (MET DST)
  14. Received: by ix.urz.uni-heidelberg.de (AIX 3.2/UCB 5.64/4.03aixgraf1)
  15.           id AA19722; Mon, 25 May 1998 15:55:37 +0200
  16. Date:     Mon, 25 May 1998 15:55:37 +0200 (METDST)
  17. From: Stefan Hanske <shanske@ix.urz.uni-heidelberg.de>
  18. X-Sender: shanske@aixgraf1.urz.uni-heidelberg.de
  19. To: linux-arm@vger.rutgers.edu
  20. Subject: mtools V3.6
  21. Message-Id: <Pine.A32.3.91.980525154913.28402A-200000@aixgraf1.urz.uni-heidelberg.de>
  22. Mime-Version: 1.0
  23. Content-Type: MULTIPART/MIXED; BOUNDARY="-2117150046-2078917053-896104537=:28402"
  24. X-Orcpt: rfc822;linux-arm@vger.rutgers.edu
  25. Sender: owner-linux-arm@vger.rutgers.edu
  26. Precedence: bulk
  27. X-Loop: majordomo@vger.rutgers.edu
  28. Status: RO
  29.  
  30.   This message is in MIME format.  The first part should be readable text,
  31.   while the remaining parts are likely unreadable without MIME-aware tools.
  32.   Send mail to mime@docserver.cac.washington.edu for more info.
  33.  
  34. ---2117150046-2078917053-896104537=:28402
  35. Content-Type: TEXT/PLAIN; charset=US-ASCII
  36.  
  37.  
  38. Hi
  39.  
  40. here is a little patch that should allow mtools 3.6 to compile under 
  41. ARMLinux. If you take a look at it you will possibly know what I mean 
  42. with gcc's PACKED bug. It doesn't layout the struct vfat_subentry the way 
  43. it's meant to be. And because the struct is written to disc as is, mtools 
  44. checks the size of all important structs first. I compiled mtools under 
  45. AIX and PC-Linux and they didn't have the problems.
  46.  
  47. The structure expects to have struct unicode_char (sizeof(...)=2) 
  48. inserted correctly, but instead of 2 bytes it takes 4 bytes when being 
  49. inserted in vfat_subentry. By adressing it as *char[index] this is avoided.
  50.  
  51. Bye bye ...
  52.  
  53.  
  54. ----------------------------------------------------------
  55. |mailto: Stefan Hanske (shanske@ix.urz.uni-heidelberg.de |
  56. |WWW : http://www.rzuser.uni-heidelberg.de/~shanske      |
  57. |phone: I'm not silly                                    |
  58. |--------------------------------------------------------|
  59. | And don't forget to remember what you remembered not   |
  60. | to forget to remember...                 |
  61. ----------------------------------------------------------
  62.  
  63. ---2117150046-2078917053-896104537=:28402
  64. Content-Type: TEXT/PLAIN; charset=US-ASCII; name="mtools-3.6.arm.patch"
  65. Content-Transfer-Encoding: BASE64
  66. Content-ID: <Pine.A32.3.91.980525155537.28402B@aixgraf1.urz.uni-heidelberg.de>
  67. Content-Description: 
  68.  
  69. ZGlmZiAtdXJOIG10b29scy0zLjYvZmlsZV9uYW1lLmMgbXRvb2xzLTMuNi5t
  70. b2RpZmllZC9maWxlX25hbWUuYw0KLS0tIG10b29scy0zLjYvZmlsZV9uYW1l
  71. LmMJVGh1IEFwciAgMyAwNzoyNDoyNSAxOTk3DQorKysgbXRvb2xzLTMuNi5t
  72. b2RpZmllZC9maWxlX25hbWUuYwlTdW4gTWF5IDI0IDA1OjI3OjQzIDE5OTgN
  73. CkBAIC0xNzcsNiArMTc3LDcgQEANCiANCiANCiANCisjaWZuZGVmIGFybQ0K
  74. IGludCB1bmljb2RlX3JlYWQoc3RydWN0IHVuaWNvZGVfY2hhciAqaW4sIGNo
  75. YXIgKm91dCwgaW50IG51bSkNCiB7DQogCWludCBqOw0KQEAgLTIyMCwzICsy
  76. MjEsNDggQEANCiAJfQ0KIAlyZXR1cm4gbnVtOw0KIH0NCisNCisjZWxzZQ0K
  77. Kw0KK2ludCB1bmljb2RlX3JlYWQoY2hhciAqaW4sIGNoYXIgKm91dCwgaW50
  78. IG51bSkNCit7DQorCSAgICAgICAgaW50IGo7DQorDQorCQlmb3IgKGo9MDsg
  79. ajxudW07ICsraikgew0KKwkJaWYgKGluWzIqaisxXSkNCisJCQkqb3V0ID0g
  80. J18nOw0KKwkJZWxzZQ0KKwkJCSpvdXQgPSBpblsyKmpdOw0KKwkJKytvdXQ7
  81. DQorCX0NCisJcmV0dXJuIG51bTsNCit9DQorDQorLyogSWYgbnVsbCBlbmNv
  82. dW50ZXJlZCwgc2V0ICplbmQgdG8gMHg0MCBhbmQgd3JpdGUgbnVsbHMgcmVz
  83. dCBvZiB3YXkNCisgKiA5NTA4MjA6IFdpbjk1IGRvZXMgbm90IGxpa2UgdGhp
  84. cyEgIEl0IGNvbXBsYWlucyBhYm91dCBiYWQgY2hhcmFjdGVycy4NCisgKiBT
  85. bywgaW5zdGVhZDogSWYgbnVsbCBlbmNvdW50ZXJlZCwgc2V0ICplbmQgdG8g
  86. MHg0MCwgd3JpdGUgdGhlIG51bGwsIGFuZA0KKyAqIHdyaXRlIDB4ZmYgdGhl
  87. IHJlc3Qgb2YgdGhlIHdheSAodGhhdCBpcyB3aGF0IFdpbjk1IHNlZW1zIHRv
  88. IGRvOyBob3BlZnVsbHkNCisgKiB0aGF0IHdpbGwgbWFrZSBpdCBoYXBweSkN
  89. CisgKi8NCisvKiBBbHdheXMgcmV0dXJuIG51bSAqLw0KK2ludCB1bmljb2Rl
  90. X3dyaXRlKGNoYXIgKmluLCBjaGFyICpvdXQsIGludCBudW0sIGludCAqZW5k
  91. X3ApDQorew0KKwkgICAgICAgIGludCBqOw0KKw0KKwkJZm9yIChqPTA7IGo8
  92. bnVtOyArK2opIHsNCisJCW91dFtqKjIrMV0gPSAnXDAnOyAgICAgIC8qIEhh
  93. cmQgY29kZWQgdG8gQVNDSUkgKi8NCisJCWlmICgqZW5kX3ApDQorCQkgICAg
  94. ICAgIC8qIEZpbGwgd2l0aCAweGZmICovDQorICAgICAgICAgICAgICAgICAg
  95. ICAgICAgb3V0WzIqaisxXSA9IG91dFsyKmpdID0gKGNoYXIpIDB4ZmY7DQor
  96. ICAgICAgICAgICAgICAgIGVsc2Ugew0KKyAgICAgICAgICAgICAgICAgICAg
  97. ICAgIG91dFsyKmpdID0gKmluOw0KKyAgICAgICAgICAgICAgICAgICAgICAg
  98. IGlmICghICppbikgew0KKwkJCQkqZW5kX3AgPSBWU0VfTEFTVDsNCisJCQl9
  99. DQorICAgICAgICAgICAgICAgIH0NCisNCisJCSsraW47DQorICAgICAgICB9
  100. DQorICAgICAgICByZXR1cm4gbnVtOw0KK30NCisjZW5kaWYNCmRpZmYgLXVy
  101. TiBtdG9vbHMtMy42L3ZmYXQuaCBtdG9vbHMtMy42Lm1vZGlmaWVkL3ZmYXQu
  102. aA0KLS0tIG10b29scy0zLjYvdmZhdC5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. d29yc3QgY2FzZSBudW1iZXIgb2YgZnVsbCBWU0VzIHBsdXMgYSBudWxsICov
  120. DQpAQCAtNzAsOSArODIsMTQgQEANCiANCiB2b2lkIGNsZWFyX3ZmYXQoc3Ry
  121. dWN0IHZmYXRfc3RhdGUgICopOw0KIGludCBjaGVja192ZmF0KHN0cnVjdCB2
  122. ZmF0X3N0YXRlICp2LCBzdHJ1Y3QgZGlyZWN0b3J5ICpkaXIpOw0KLWludCB1
  123. bmljb2RlX3JlYWQoc3RydWN0IHVuaWNvZGVfY2hhciAqLCBjaGFyICosIGlu
  124. dCBudW0pOw0KLWludCB1bmljb2RlX3dyaXRlKGNoYXIgKiwgc3RydWN0IHVu
  125. aWNvZGVfY2hhciAqLCBpbnQgbnVtLCBpbnQgKmVuZCk7DQotdW5zaWduZWQg
  126. Y2hhciBzdW1fc2hvcnRuYW1lKGNoYXIgKik7DQorI2lmbmRlZiBhcm0NCisg
  127. IGludCB1bmljb2RlX3JlYWQoc3RydWN0IHVuaWNvZGVfY2hhciAqLCBjaGFy
  128. ICosIGludCBudW0pOw0KKyAgaW50IHVuaWNvZGVfd3JpdGUoY2hhciAqLCBz
  129. dHJ1Y3QgdW5pY29kZV9jaGFyICosIGludCBudW0sIGludCAqZW5kKTsNCisj
  130. ZWxzZQ0KKyAgaW50IHVuaWNvZGVfcmVhZChjaGFyICosIGNoYXIgKiwgaW50
  131. IG51bSk7DQorICBpbnQgdW5pY29kZV93cml0ZShjaGFyICosIGNoYXIgKiwg
  132. aW50IG51bSwgaW50ICplbmQpOw0KKyNlbmRpZg0KKyAgdW5zaWduZWQgY2hh
  133. ciBzdW1fc2hvcnRuYW1lKGNoYXIgKik7DQogaW50IHdyaXRlX3ZmYXQoU3Ry
  134. ZWFtX3QgKiwgY2hhciAqLCBjaGFyICosIGludCk7DQogdm9pZCBjbGVhcl92
  135. c2VzKFN0cmVhbV90ICosIGludCwgc2l6ZV90KTsNCiB2b2lkIGF1dG9yZW5h
  136. bWVfc2hvcnQoY2hhciAqLCBpbnQpOw0K
  137. ---2117150046-2078917053-896104537=:28402--
  138. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu